package com.jingtai.core.entity.supply;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 一件代发详情
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_undertakes_detail")
@ApiModel(value = "一件代发详情", description = "一件代发详情")
public class UndertakesDetail  extends BaseEntity implements Serializable {




	/**
	 * 申请总编号
	 */
	@CApiModelProperty(value = "申请总编号")
	private String applyTotalCode;

	/**
	 * 申请子编号
	 */
	@CApiModelProperty(value = "申请子编号")
	private String applyChildCode;

	/**
	 * 订单子编号
	 */
	@CApiModelProperty(value = "订单子编号")
	private String orderChildCode;

	/**
	 * 用户ID
	 */
	@CApiModelProperty(value = "用户ID")
	private Long memberId;

	/**
	 * 用户收货地址ID
	 */
	@CApiModelProperty(value = "用户收货地址ID")
	private Long memberAddressId;

	/**
	 * sku编码
	 */
	@CApiModelProperty(value = "sku编码")
	private String goodsCode;

	/**
	 * 商品名称
	 */
	@CApiModelProperty(value = "商品名称")
	private String goodsName;

	/**
	 * 商品图片
	 */
	@CApiModelProperty(value = "商品图片")
	private String goodsImage;

	/**
	 * 售价
	 */
	@CApiModelProperty(value = "售价")
	private BigDecimal price;

	/**
	 * 数量
	 */
	@CApiModelProperty(value = "数量")
	private Integer number;

	/**
	 * 结算金额
	 */
	@CApiModelProperty(value = "结算金额")
	private BigDecimal totalPrice;

	/**
	 * 运费
	 */
	@CApiModelProperty(value = "运费")
	private BigDecimal freight;

	/**
	 * 运单号
	 */
	@CApiModelProperty(value = "运单号")
	private String courierNumber;

	/**
	 * 运单单据
	 */
	@CApiModelProperty(value = "运单单据")
	private String courierDocuments;

	/**
	 * 订单状态 10.待发货 20.已发货  30.已完成  40,已拒绝
	 */
	@CApiModelProperty(value = "订单状态 10.待发货 20.已发货  30.已完成  40,已拒绝")
	private Integer orderState;

	/**
	 * 拒绝理由
	 */
	@CApiModelProperty(value = "拒绝理由")
	private String receiptFor;


}
